<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>调试工具的使用 | JavaScript高级讲义</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    
    <link rel="prev" href="../Sources/异常处理.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="1.8"
        data-chapter-title="调试工具的使用"
        data-filepath="Sources/调试工具的使用.md"
        data-basepath=".."
        data-revision="Tue Oct 18 2016 20:46:48 GMT+0800 (CST)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        JavaScript高级讲义
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="0.1" data-path="Sources/内容简介.html">
            
                
                    <a href="../Sources/内容简介.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>0.1.</b>
                        
                        内容简介
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1" >
            
            <span><b>1.</b> JavaScript基础知识复习</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="Sources/基础复习题.html">
            
                
                    <a href="../Sources/基础复习题.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        基础复习题
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
            <span><b>1.2.</b> 内置对象与方法</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="Sources/array.html">
            
                
                    <a href="../Sources/array.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.1.</b>
                        
                        Array
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="Sources/date.html">
            
                
                    <a href="../Sources/date.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.2.</b>
                        
                        Date
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="Sources/number.html">
            
                
                    <a href="../Sources/number.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.3.</b>
                        
                        Number
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="Sources/boolean.html">
            
                
                    <a href="../Sources/boolean.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.4.</b>
                        
                        Boolean
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="Sources/string.html">
            
                
                    <a href="../Sources/string.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.5.</b>
                        
                        String
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="Sources/math.html">
            
                
                    <a href="../Sources/math.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.6.</b>
                        
                        Math
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="Sources/值类型和引用类型.html">
            
                
                    <a href="../Sources/值类型和引用类型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        值类型和引用类型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="Sources/值类型和引用类型的特征.html">
            
                
                    <a href="../Sources/值类型和引用类型的特征.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        值类型和引用类型的特征
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="Sources/对象的动态特性.html">
            
                
                    <a href="../Sources/对象的动态特性.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        对象的动态特性
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="Sources/dom操作复习.html">
            
                
                    <a href="../Sources/dom操作复习.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        DOM操作复习
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="Sources/异常处理.html">
            
                
                    <a href="../Sources/异常处理.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        异常处理
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="1.8" data-path="Sources/调试工具的使用.html">
            
                
                    <a href="../Sources/调试工具的使用.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.8.</b>
                        
                        调试工具的使用
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../" >JavaScript高级讲义</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="&#x8C03;&#x8BD5;&#x5DE5;&#x5177;&#x7684;&#x4F7F;&#x7528;">&#x8C03;&#x8BD5;&#x5DE5;&#x5177;&#x7684;&#x4F7F;&#x7528;</h1>
<h3 id="&#x5F00;&#x542F;&#x8C03;&#x8BD5;&#x7A97;&#x53E3;">&#x5F00;&#x542F;&#x8C03;&#x8BD5;&#x7A97;&#x53E3;</h3>
<p>windows &#x5E73;&#x53F0;: f12</p>
<h3 id="&#x8C03;&#x8BD5;&#x7A97;&#x53E3;&#x4ECB;&#x7ECD;">&#x8C03;&#x8BD5;&#x7A97;&#x53E3;&#x4ECB;&#x7ECD;</h3>
<ol>
<li><p>&#x6307;&#x9488;: &#x9009;&#x62E9;&#x9875;&#x9762;&#x4E2D;&#x7684;&#x5143;&#x7D20;</p>
</li>
<li><p>&#x624B;&#x673A;: &#x4F7F;&#x7528;&#x79FB;&#x52A8;&#x7AEF;&#x754C;&#x9762;&#x8C03;&#x8BD5;</p>
</li>
<li><p>Elements: &#x67E5;&#x770B;&#x9875;&#x9762; DOM &#x6811;</p>
</li>
<li><p>Console: &#x63A7;&#x5236;&#x53F0;(&#x6CE8;&#x610F;, &#x63A7;&#x5236;&#x53F0;&#x4E0E;&#x8BE5;&#x9875;&#x9762;&#x662F;&#x4E00;&#x4E2A;&#x6574;&#x4F53;, &#x5728;&#x63A7;&#x5236;&#x53F0;&#x4E2D;&#x7684;&#x4EFB;&#x4F55;&#x64CD;&#x4F5C;, &#x4F1A;&#x5F71;&#x54CD;&#x5230;&#x9875;&#x9762;)</p>
</li>
<li><p>Source: &#x4EE3;&#x7801;&#x8C03;&#x8BD5;</p>
</li>
</ol>
<h3 id="&#x8C03;&#x8BD5;&#x5DE5;&#x5177;&#x7684;&#x4F7F;&#x7528;">&#x8C03;&#x8BD5;&#x5DE5;&#x5177;&#x7684;&#x4F7F;&#x7528;</h3>
<ol>
<li><p>&#x9010;&#x8FC7;&#x7A0B;&#x8FD0;&#x884C;, &#x4E00;&#x6B21;&#x8FD0;&#x884C;&#x4E00;&#x4E2A;&#x51FD;&#x6570;</p>
</li>
<li><p>&#x5355;&#x6B65;&#x8FD0;&#x884C;(&#x9010;&#x6B65;&#x8FD0;&#x884C;), &#x4E00;&#x6B21;&#x8FD0;&#x884C;&#x4E00;&#x53E5;, &#x5982;&#x679C;&#x662F;&#x51FD;&#x6570;, &#x8FDB;&#x5165;&#x51FD;&#x6570;&#x4F53;&#x5185;&#x8FD0;&#x884C;</p>
</li>
<li><p>&#x7EE7;&#x7EED;&#x8FD0;&#x884C;. &#x4ECE;&#x5F53;&#x524D;&#x72B6;&#x6001;&#x8FD0;&#x884C;&#x4E0B;&#x53BB;, &#x76F4;&#x5230;&#x51FA;&#x73B0;&#x65AD;&#x70B9;, &#x5982;&#x679C;&#x6CA1;&#x6709;&#x65AD;&#x70B9;&#x5219;&#x8FD0;&#x884C;&#x7ED3;&#x675F;</p>
</li>
</ol>
<h3 id="&#x8BBE;&#x7F6E;&#x65AD;&#x70B9;&#x6280;&#x5DE7;">&#x8BBE;&#x7F6E;&#x65AD;&#x70B9;&#x6280;&#x5DE7;</h3>
<ol>
<li>&#x9010;&#x6B65;&#x4E0E;&#x9010;&#x8FC7;&#x7A0B;&#x6DF7;&#x5408;</li>
<li>&#x65AD;&#x70B9;&#x52A0;&#x7EE7;&#x7EED;&#x8FD0;&#x884C;</li>
<li>&#x6761;&#x4EF6;&#x65AD;&#x70B9;(&#x53F3;&#x952E;&#x6DFB;&#x52A0; add contitional breakpoint)</li>
</ol>
<h3 id="&#x5229;&#x7528;-watch-&#x76D1;&#x89C6;&#x7A97;&#x53E3;&#x53EF;&#x4EE5;&#x67E5;&#x770B;&#x5BF9;&#x8C61;&#x6210;&#x5458;">&#x5229;&#x7528; watch &#x76D1;&#x89C6;&#x7A97;&#x53E3;&#x53EF;&#x4EE5;&#x67E5;&#x770B;&#x5BF9;&#x8C61;&#x6210;&#x5458;</h3>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../Sources/异常处理.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 异常处理"><i class="fa fa-angle-left"></i></a>
        
        
    </div>
</div>

        
<script src="../gitbook/app.js"></script>

    
    <script src="../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
